import request from '@/utils/request'

export default {
  getList(params) {
    return request({
      url: '/sxUserCardInfo/',
      method: 'get',
      params
    })
  },

  get(params) {
    return request({
      url: '/sxUserCardInfo/' + params.userId,
      method: 'get',
      params
    })
  },

  getPage(params) {
    return request({
      url: '/sxUserCardInfo/page',
      method: 'get',
      params
    })
  },

  update(params) {
    return request({
      url: '/sxUserCardInfo/update',
      method: 'post',
      params
    })
  },

  insert(params) {
    return request({
      url: '/sxUserCardInfo/insert',
      method: 'post',
      params
    })
  },

  remove(params) {
    return request({
      url: '/sxUserCardInfo/delete',
      method: 'post',
      params
    })
  }
}
